package com.duoduo.nacos.member.feign;

import com.duoduo.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Description: 远程调用接口
 * @Param:
 * @return:
 * @Author: 拾光！
 * @Date: 2021/6/27 21:49
 */
@FeignClient(value = "duoduo-order",path = "/order")
public interface OrderFeignService {
    @RequestMapping("/findOrderByUserId/{userId}")
    public R findOrderByUserId(@PathVariable("userId") Integer userId);
}
